import request from '@/utils/request'

export async function getSystemParameterListApi(params) {
  var resp = await request({
    url: '/system_settings/list/',
    method: 'get',
    params
  })
  return resp
}

export async function updateSystemParameterListApi(id, data) {
  var resp = await request({
    url: '/system_settings/list/' + id + '/',
    method: 'put',
    data
  })
  return resp
}
